package day06;
//此类用于验证基本数据类型默认的测试demo
public class Tets01 {
    //成员变量的定义位置为：类里方法外
static String name;       //声明静态成员变量，String的类型的name变量
static byte a;
static short b;
static int c;
static long d;
static float e;
static double f;
static char g;
static boolean h;

    public static void main(String[] args) {
        int a = 10;
        System.out.println(name);  //null
        System.out.println(a);     //10
        System.out.println(b);     //0
        System.out.println(c);     //0
        System.out.println(d);    //0l
        System.out.println(e);    //0.0
        System.out.println(f);    //0.0
        System.out.println(g);    //内存地址
        System.out.println(h);    //false

    }
}
